package com.xkstream.client.presenter;

import com.xkstream.client.base.BaseData;
import com.xkstream.client.base.BasePresenter;
import com.xkstream.client.base.BaseView;
import com.xkstream.client.entity.AnchorInfo;
import com.xkstream.client.entity.Game;
import com.xkstream.client.entity.ReceiveGift;
import com.xkstream.client.entity.kt.GiftRankingData;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoyi on 2017-9-7.
 */

public interface LiveRoomContract {
    interface Presenter extends BasePresenter {
        void getGiftRank(String anchorCode);

        void loadTodayGiftRecord(String anchorCode);

        void setChatroomAdmin(Map<String, Object> params);

        void chatroomMute(Map<String, Object> params);

        void anchorOnOff(Map<String, Object> params);

        void getAnchorDetail(Map<String,Object> params);
    }

    interface View extends BaseView<Presenter> {
        void showMuteResult(BaseData data);

        void showSetAdminResult(BaseData data);

        void showGiftRecord(BaseData<List<ReceiveGift>> data);

        void showGiftRanking(BaseData<GiftRankingData> data);

        void showAnchorDetail(AnchorInfo anchorInfo);

        void showGameData(Game data,int status);
    }
}
